<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: ETSheet.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_e_t_sheet_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ETSheet.h</div>  </div>
</div>
<div class="contents">
<a href="_e_t_sheet_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ========================================================================= */</span>
<a name="l00002"></a>00002 <span class="comment">/* ------------------------------------------------------------------------- */</span><span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">/*!</span>
<a name="l00004"></a>00004 <span class="comment">  \file         ETSheet.h</span>
<a name="l00005"></a>00005 <span class="comment">  \date         september 2011</span>
<a name="l00006"></a>00006 <span class="comment">  \author       TNick</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">  \brief        Contains the definition for ETSheet class</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">  Copyright (c) 2011, Nicu Tofan</span>
<a name="l00012"></a>00012 <span class="comment"> All rights reserved.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment"> Redistribution and use in source and binary forms, with or without</span>
<a name="l00015"></a>00015 <span class="comment"> modification, are permitted provided that the following conditions are met:</span>
<a name="l00016"></a>00016 <span class="comment"> * Redistributions of source code must retain the above copyright</span>
<a name="l00017"></a>00017 <span class="comment">   notice, this list of conditions and the following disclaimer.</span>
<a name="l00018"></a>00018 <span class="comment"> * Redistributions in binary form must reproduce the above copyright</span>
<a name="l00019"></a>00019 <span class="comment">   notice, this list of conditions and the following disclaimer in the</span>
<a name="l00020"></a>00020 <span class="comment">   documentation and/or other materials provided with the distribution.</span>
<a name="l00021"></a>00021 <span class="comment"> * Neither the name of the copyright holder nor the</span>
<a name="l00022"></a>00022 <span class="comment">   names of its contributors may be used to endorse or promote products</span>
<a name="l00023"></a>00023 <span class="comment">   derived from this software without specific prior written permission.</span>
<a name="l00024"></a>00024 <span class="comment"></span>
<a name="l00025"></a>00025 <span class="comment"> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS &quot;AS IS&quot; AND</span>
<a name="l00026"></a>00026 <span class="comment"> ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span>
<a name="l00027"></a>00027 <span class="comment"> WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span>
<a name="l00028"></a>00028 <span class="comment"> DISCLAIMED. IN NO EVENT SHALL NICU TOFAN BE LIABLE FOR ANY</span>
<a name="l00029"></a>00029 <span class="comment"> DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span>
<a name="l00030"></a>00030 <span class="comment"> (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span>
<a name="l00031"></a>00031 <span class="comment"> LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span>
<a name="l00032"></a>00032 <span class="comment"> ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
<a name="l00033"></a>00033 <span class="comment"> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
<a name="l00034"></a>00034 <span class="comment"> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00035"></a>00035 <span class="comment"></span>
<a name="l00036"></a>00036 <span class="comment">*/</span>
<a name="l00037"></a>00037 <span class="comment">/* ------------------------------------------------------------------------- */</span>
<a name="l00038"></a>00038 <span class="comment">/* ========================================================================= */</span>
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef __ETSHEET_INC__</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define __ETSHEET_INC__</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="comment">//</span>
<a name="l00042"></a>00042 <span class="comment">//</span>
<a name="l00043"></a>00043 <span class="comment">//</span>
<a name="l00044"></a>00044 <span class="comment">//</span>
<a name="l00045"></a>00045 <span class="comment">/*  INCLUDES    ------------------------------------------------------------ */</span>
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="preprocessor">#include    &lt;<a class="code" href="main_8h.html" title="Contains global definitions for application.">main.h</a>&gt;</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">class       </span><a class="code" href="class_mdi_child.html" title="form representing a document inside MDI area">MdiChild</a>;
<a name="l00050"></a>00050 <span class="keyword">class       </span><a class="code" href="class_e_t_i___cplx_txt.html" title="class representing a complex text; this may or may not represent an equation">ETI_CplxTxt</a>;
<a name="l00051"></a>00051 <span class="keyword">class       </span><a class="code" href="class_e_t_i___m_txt.html" title="class">ETI_MTxt</a>;
<a name="l00052"></a>00052 <span class="keyword">class       </span>QDomDocument;
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <span class="preprocessor">#include    &lt;QGraphicsScene&gt;</span>
<a name="l00055"></a>00055 <span class="preprocessor">#include    &lt;QDomElement&gt;</span>
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="preprocessor">#include    &lt;<a class="code" href="_e_t_undo_head_8h.html" title="Contains the definition for ETUndoHead class.">sheet/ETUndoHead.h</a>&gt;</span>
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="comment">/*  INCLUDES    ============================================================ */</span>
<a name="l00060"></a>00060 <span class="comment">//</span>
<a name="l00061"></a>00061 <span class="comment">//</span>
<a name="l00062"></a>00062 <span class="comment">//</span>
<a name="l00063"></a>00063 <span class="comment">//</span>
<a name="l00064"></a>00064 <span class="comment">/*  CLASS    --------------------------------------------------------------- */</span>
<a name="l00065"></a>00065 <span class="comment"></span>
<a name="l00066"></a>00066 <span class="comment">/// Class representing logical root for all elements contained in a document (sheet)</span>
<a name="l00067"></a>00067 <span class="comment"></span><span class="comment">/**</span>
<a name="l00068"></a>00068 <span class="comment">*   \section new_items Creating new documents</span>
<a name="l00069"></a>00069 <span class="comment">*   From this application&#39;s point of view, an instance of this clas is a</span>
<a name="l00070"></a>00070 <span class="comment">*   document. Documents are created either visible to the user (thus having a</span>
<a name="l00071"></a>00071 <span class="comment">*   MdiChild instance associated with them) using newVisible() or invisible to</span>
<a name="l00072"></a>00072 <span class="comment">*   the user using newInvisible(). Both functions accept an argument that</span>
<a name="l00073"></a>00073 <span class="comment">*   is either empty (QString::isEmpty() == true) or must represent a valid path</span>
<a name="l00074"></a>00074 <span class="comment">*   and file to be loaded. newVisible() shows error messages if something</span>
<a name="l00075"></a>00075 <span class="comment">*   wend wrong and returns NULL. newInvisible(), on the other hand, will</span>
<a name="l00076"></a>00076 <span class="comment">*   tell the error string in additional argument, while also returning NULL.</span>
<a name="l00077"></a>00077 <span class="comment">*</span>
<a name="l00078"></a>00078 <span class="comment">*   \section items_manag Managing the lists of documents</span>
<a name="l00079"></a>00079 <span class="comment">*   There are two lists of documents: visible and invisible ones, with two</span>
<a name="l00080"></a>00080 <span class="comment">*   sets of management functions.</span>
<a name="l00081"></a>00081 <span class="comment">*</span>
<a name="l00082"></a>00082 <span class="comment">*   Visible items may be enumerated using MainWindow&#39;s mdi area, thus no</span>
<a name="l00083"></a>00083 <span class="comment">*   storage is required by this class. One may get the number of opened</span>
<a name="l00084"></a>00084 <span class="comment">*   documents with visibleCount() and the document with a particular index</span>
<a name="l00085"></a>00085 <span class="comment">*   with visibleDoc().</span>
<a name="l00086"></a>00086 <span class="comment">*</span>
<a name="l00087"></a>00087 <span class="comment">*   Invisible documents are enumerated using internal (static) list.</span>
<a name="l00088"></a>00088 <span class="comment">*   To find out the number of invisible documents, simply use invisibleCount().</span>
<a name="l00089"></a>00089 <span class="comment">*   One may get a pointer to an invisible document using invisibleDoc().</span>
<a name="l00090"></a>00090 <span class="comment">*</span>
<a name="l00091"></a>00091 <span class="comment">*</span>
<a name="l00092"></a>00092 <span class="comment">*   \section loading_saving Loading a sheet from a XML file. Saving to a XML file.</span>
<a name="l00093"></a>00093 <span class="comment">*   As the name implies the XML format is used in</span>
<a name="l00094"></a>00094 <span class="comment">*   saving / loading the file and</span>
<a name="l00095"></a>00095 <span class="comment">*   &lt;a href=&quot;http://doc.qt.nokia.com/latest/qtxml.html&quot;&gt;QtXml Module&lt;/a&gt;</span>
<a name="l00096"></a>00096 <span class="comment">*   is used to accomplish the task.</span>
<a name="l00097"></a>00097 <span class="comment">*</span>
<a name="l00098"></a>00098 <span class="comment">*   The format of the file that is saved follows the guidance in</span>
<a name="l00099"></a>00099 <span class="comment">*   &lt;a href=&quot;https://code.google.com/p/equtemper/source/browse/trunk/doc/example.xml&quot;&gt;</span>
<a name="l00100"></a>00100 <span class="comment">*   example.xml&lt;/a&gt; that is located in</span>
<a name="l00101"></a>00101 <span class="comment">*   &lt;a href=&quot;https://code.google.com/p/equtemper/source/browse/trunk/doc&quot;&gt;doc&lt;/a&gt;</span>
<a name="l00102"></a>00102 <span class="comment">*   subfolder. As a quick reference, the elements that are saved are:</span>
<a name="l00103"></a>00103 <span class="comment">*   - the tree of viewports / splits with their specific characteristics</span>
<a name="l00104"></a>00104 <span class="comment">*   - the list of ETI_CplxTxt items</span>
<a name="l00105"></a>00105 <span class="comment">*   - the list of ETI_MTxt items</span>
<a name="l00106"></a>00106 <span class="comment">*</span>
<a name="l00107"></a>00107 <span class="comment">*   The sheet exposes the loadXMLFile() function that needs a file name as</span>
<a name="l00108"></a>00108 <span class="comment">*   argument. It then attempts to read the file and make sence of it. A recursive</span>
<a name="l00109"></a>00109 <span class="comment">*   architecture is implemented, with each component having it&#39;s own (static) function</span>
<a name="l00110"></a>00110 <span class="comment">*   that handles it&#39;s loading from DOM tree. Specifically, the sheet&#39;s code</span>
<a name="l00111"></a>00111 <span class="comment">*   looks into viewport list and dispatches calls as appropriate, then</span>
<a name="l00112"></a>00112 <span class="comment">*   iterates the list of objects by type and creates them one by one.</span>
<a name="l00113"></a>00113 <span class="comment">*</span>
<a name="l00114"></a>00114 <span class="comment">*   The saving to a file is done using saveXMLFile(). Again, a file is expected</span>
<a name="l00115"></a>00115 <span class="comment">*   and, once it&#39;s available for writing, a DOM tree is constructed from the</span>
<a name="l00116"></a>00116 <span class="comment">*   content of the sheet and it is dumped to the file. The code manages</span>
<a name="l00117"></a>00117 <span class="comment">*   same tasks as in loading counterpart. As a rule of thumb, the container</span>
<a name="l00118"></a>00118 <span class="comment">*   is created by the caller and specific function is provided with</span>
<a name="l00119"></a>00119 <span class="comment">*   already created place where it should save it&#39;s content.</span>
<a name="l00120"></a>00120 <span class="comment">*</span>
<a name="l00121"></a>00121 <span class="comment">*   As a convenience, the class also implements saveQICommon() and loadQICommon()</span>
<a name="l00122"></a>00122 <span class="comment">*   to ease the task of saving / loading items that inherit from QGraphicsItem.</span>
<a name="l00123"></a>00123 <span class="comment">*   At this time only the position is saved.</span>
<a name="l00124"></a>00124 <span class="comment">*</span>
<a name="l00125"></a>00125 <span class="comment">*</span>
<a name="l00126"></a>00126 <span class="comment">*/</span>
<a name="l00127"></a><a class="code" href="class_e_t_sheet.html">00127</a> <span class="keyword">class </span><a class="code" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> : <span class="keyword">public</span> QGraphicsScene <a class="code" href="ddhc__main_8h.html#a11c872f3f4013282773f6329628a4989">DDHC_INHERIT</a>          {
<a name="l00128"></a><a class="code" href="class_e_t_sheet.html#a49dba85058b1e4d07fff072ca62c3720">00128</a>     <a class="code" href="ddhc__main_8h.html#a93273add2edbf58828a7c139577170ec">DDHC_CLASS</a>
<a name="l00129"></a>00129 
<a name="l00130"></a>00130 
<a name="l00131"></a>00131     <span class="comment">//</span>
<a name="l00132"></a>00132     <span class="comment">//</span>
<a name="l00133"></a>00133     <span class="comment">//</span>
<a name="l00134"></a>00134     <span class="comment">//</span>
<a name="l00135"></a>00135     <span class="comment">/*  DEFINITIONS    ----------------------------------------------------- */</span>
<a name="l00136"></a>00136 
<a name="l00137"></a><a class="code" href="_e_t_sheet_8h.html#a907c6d4c534454f7a08d9fd752ec67d5">00137</a> <span class="preprocessor">#define XML_TAG_NAME        &quot;name&quot;</span>
<a name="l00138"></a>00138 <span class="preprocessor"></span>
<a name="l00139"></a><a class="code" href="_e_t_sheet_8h.html#ad9f84dcd428200f8e3f80278f9920350">00139</a> <span class="preprocessor">#define XML_TAG_ROOT        &quot;equtemper&quot;</span>
<a name="l00140"></a><a class="code" href="_e_t_sheet_8h.html#ab4fa1dc7c4f4aac5c69e168fa222b0fb">00140</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_VP_LIST     &quot;viewports&quot;</span>
<a name="l00141"></a><a class="code" href="_e_t_sheet_8h.html#aa0b0532a191d25cc54436c9fe3dfd504">00141</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_VP_SPLIT    &quot;viewport_split&quot;</span>
<a name="l00142"></a><a class="code" href="_e_t_sheet_8h.html#a0ce2bed7b21c36ed370745648668b774">00142</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_VP          &quot;viewport&quot;</span>
<a name="l00143"></a><a class="code" href="_e_t_sheet_8h.html#a093464e128c9ff17a174d08c9187299b">00143</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ACTIVE      &quot;active&quot;</span>
<a name="l00144"></a><a class="code" href="_e_t_sheet_8h.html#a0189f98ee9290e6e1ba89f93cb0ab0ad">00144</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_TRANSL      &quot;translation&quot;</span>
<a name="l00145"></a><a class="code" href="_e_t_sheet_8h.html#af0866489c168e1899095869e1dafe62f">00145</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_X           &quot;x&quot;</span>
<a name="l00146"></a><a class="code" href="_e_t_sheet_8h.html#ae93bce2d4f2bf25161520d842ca1cb2b">00146</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_Y           &quot;y&quot;</span>
<a name="l00147"></a><a class="code" href="_e_t_sheet_8h.html#aed9ff3467f108d2801b9c104a456af2b">00147</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ROT         &quot;rotation&quot;</span>
<a name="l00148"></a><a class="code" href="_e_t_sheet_8h.html#aa90e049cac810d38d59e5f569304a936">00148</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_SCALE       &quot;scale&quot;</span>
<a name="l00149"></a><a class="code" href="_e_t_sheet_8h.html#a53e53854a567f25ee34dde6aa18c275a">00149</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_SPL_DATA    &quot;split_data&quot;</span>
<a name="l00150"></a><a class="code" href="_e_t_sheet_8h.html#a772b43f2e38bd774bf9cfe28fda86c55">00150</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ORIENT      &quot;orientation&quot;</span>
<a name="l00151"></a><a class="code" href="_e_t_sheet_8h.html#aa9104cb7b05d94a9afa460042c464a26">00151</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_O_VERT          &quot;vertical&quot;</span>
<a name="l00152"></a><a class="code" href="_e_t_sheet_8h.html#ac75876ace62665da0791fe9f4a138414">00152</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_O_HORIZ         &quot;horizontal&quot;</span>
<a name="l00153"></a><a class="code" href="_e_t_sheet_8h.html#a7f5d348661e9e65dbebb517d2922e7d0">00153</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ITEM        &quot;item&quot;</span>
<a name="l00154"></a><a class="code" href="_e_t_sheet_8h.html#abf48751c40205f6cacc85875239a5036">00154</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_COMM        &quot;common&quot;</span>
<a name="l00155"></a>00155 <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_POS         &quot;position&quot;</span>
<a name="l00156"></a><a class="code" href="_e_t_sheet_8h.html#a4141372d3d8cb73a70a68267c8848884">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_CPLX_LIST   &quot;complex_txt_list&quot;</span>
<a name="l00157"></a><a class="code" href="_e_t_sheet_8h.html#a35ec438f960747e5ed2b96677fe1fa56">00157</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_POS         &quot;position&quot;</span>
<a name="l00158"></a><a class="code" href="_e_t_sheet_8h.html#a169dcb43317577b47bb53d007029b957">00158</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_SUBITEM     &quot;sitem&quot;</span>
<a name="l00159"></a><a class="code" href="_e_t_sheet_8h.html#afe714690ff664710e0dfea992dedb48a">00159</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_TYPE        &quot;type&quot;</span>
<a name="l00160"></a><a class="code" href="_e_t_sheet_8h.html#a515ae0df8655fe553a1180b6f9fd4c0c">00160</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_FONT        &quot;font&quot;</span>
<a name="l00161"></a><a class="code" href="_e_t_sheet_8h.html#a1aa301ceeef1acb5cefbcab1d26d83fa">00161</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_COLOR       &quot;color&quot;</span>
<a name="l00162"></a><a class="code" href="_e_t_sheet_8h.html#a8f2907de6987a8875404f159a5c54160">00162</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_PEN         &quot;pen&quot;</span>
<a name="l00163"></a><a class="code" href="_e_t_sheet_8h.html#a728466967babcff790b3f9d495df7346">00163</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_NUMERATOR   &quot;numerator&quot;</span>
<a name="l00164"></a><a class="code" href="_e_t_sheet_8h.html#ae0f9d30575307abbb8f5d6f8b1de1d6b">00164</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_DENOM       &quot;denominator&quot;</span>
<a name="l00165"></a><a class="code" href="_e_t_sheet_8h.html#a931f5279fae66ea84fce82eb561fec76">00165</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_LIMIT       &quot;limit&quot;</span>
<a name="l00166"></a><a class="code" href="_e_t_sheet_8h.html#a5e0a716fd6a575747772869b77659cdd">00166</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_FROM        &quot;from&quot;</span>
<a name="l00167"></a><a class="code" href="_e_t_sheet_8h.html#ac722370e43d601c9e96d5087b010813b">00167</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_CONTENT     &quot;content&quot;</span>
<a name="l00168"></a><a class="code" href="_e_t_sheet_8h.html#a60660f84217da3264abe900928282fed">00168</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_CONTENT_D   &quot;content_d&quot;</span>
<a name="l00169"></a><a class="code" href="_e_t_sheet_8h.html#ad6d4a256d45dab0039f48ffb5e9f5bc0">00169</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_BTM_LEFT    &quot;bottom_left&quot;</span>
<a name="l00170"></a><a class="code" href="_e_t_sheet_8h.html#aaae801f7afd7d8d23bff25926abc57d2">00170</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_BTM_RIGHT   &quot;bottom_right&quot;</span>
<a name="l00171"></a><a class="code" href="_e_t_sheet_8h.html#a8868e7c25063ac4e72362b8e4b58e642">00171</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ROW         &quot;row&quot;</span>
<a name="l00172"></a><a class="code" href="_e_t_sheet_8h.html#ab909cd1d0d1c22e99ed77a38b4a3a385">00172</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_ORDER       &quot;order&quot;</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span>
<a name="l00174"></a><a class="code" href="_e_t_sheet_8h.html#ad62d5b9175b1c43b4875729c1d8f7012">00174</a> <span class="preprocessor">#define XML_TAG_FORM_LIST   &quot;formatted_txt&quot;</span>
<a name="l00175"></a><a class="code" href="_e_t_sheet_8h.html#a778a77d5a203c0ad1f8bf4dc47b4f20a">00175</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_TAG_TEXT        &quot;text&quot;</span>
<a name="l00176"></a>00176 <span class="preprocessor"></span>
<a name="l00177"></a><a class="code" href="_e_t_sheet_8h.html#ad14995bfc219eb6a0ce55cdd58193145">00177</a> <span class="preprocessor">#define XML_SIT_FRACT       &quot;fract&quot;</span>
<a name="l00178"></a><a class="code" href="_e_t_sheet_8h.html#ad1769246a39d8d7c441cb4aea0c4bd56">00178</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_HTEXT       &quot;htext&quot;</span>
<a name="l00179"></a><a class="code" href="_e_t_sheet_8h.html#a01390a9ef586c8bb27e4f62b1b684dd3">00179</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_INTEG       &quot;integ&quot;</span>
<a name="l00180"></a><a class="code" href="_e_t_sheet_8h.html#aa896b0216165e435be9986d72f4f79c8">00180</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_LIM         &quot;lim&quot;</span>
<a name="l00181"></a><a class="code" href="_e_t_sheet_8h.html#a56e812cb8d57dee67e7fd807dbc759c5">00181</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_LOGICAC     &quot;logicac&quot;</span>
<a name="l00182"></a><a class="code" href="_e_t_sheet_8h.html#a369dddf4a767ded127a59b87a1c4cfda">00182</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_MATRIX      &quot;matrix&quot;</span>
<a name="l00183"></a><a class="code" href="_e_t_sheet_8h.html#aef0980d11e0dfde8a4ff7a71416f5d4e">00183</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_RADIC       &quot;radic&quot;</span>
<a name="l00184"></a><a class="code" href="_e_t_sheet_8h.html#a55c1113b806e669aedfff171c5f25c03">00184</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_STEXT       &quot;stext&quot;</span>
<a name="l00185"></a><a class="code" href="_e_t_sheet_8h.html#ae9fd719bddd901a526408cd4d8565c4c">00185</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_SUM         &quot;sum&quot;</span>
<a name="l00186"></a><a class="code" href="_e_t_sheet_8h.html#a60d1bd520c61614f6fb52c21323cffd5">00186</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_ROOT        &quot;root&quot;</span>
<a name="l00187"></a><a class="code" href="_e_t_sheet_8h.html#a5acf061f325d1903fec5d65132e31f37">00187</a> <span class="preprocessor"></span><span class="preprocessor">#define XML_SIT_ROWS        &quot;rows&quot;</span>
<a name="l00188"></a>00188 <span class="preprocessor"></span>
<a name="l00189"></a>00189 
<a name="l00190"></a>00190 
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 
<a name="l00194"></a>00194     <span class="comment">/*  DEFINITIONS    ===================================================== */</span>
<a name="l00195"></a>00195     <span class="comment">//</span>
<a name="l00196"></a>00196     <span class="comment">//</span>
<a name="l00197"></a>00197     <span class="comment">//</span>
<a name="l00198"></a>00198     <span class="comment">//</span>
<a name="l00199"></a>00199     <span class="comment">/*  DATA    ------------------------------------------------------------ */</span>
<a name="l00200"></a>00200 
<a name="l00201"></a>00201     <span class="keyword">private</span>:
<a name="l00202"></a>00202 
<a name="l00203"></a>00203 <span class="comment"></span>
<a name="l00204"></a>00204 <span class="comment">        /// list of invisible documents</span>
<a name="l00205"></a><a class="code" href="class_e_t_sheet.html#a60207c5a593d551047a5cb16606d69fe">00205</a> <span class="comment"></span>        <span class="keyword">static</span> QList&lt;ETSheet*&gt;      <a class="code" href="class_e_t_sheet.html#a60207c5a593d551047a5cb16606d69fe" title="list of invisible documents">invisible_list</a>;
<a name="l00206"></a>00206 
<a name="l00207"></a>00207 
<a name="l00208"></a>00208 <span class="comment"></span>
<a name="l00209"></a>00209 <span class="comment">    /// associated MDI panel</span>
<a name="l00210"></a><a class="code" href="class_e_t_sheet.html#a2915c8ae289ed5b5a77ae871af964884">00210</a> <span class="comment"></span>    <a class="code" href="class_mdi_child.html" title="form representing a document inside MDI area">MdiChild</a> *                  <a class="code" href="class_e_t_sheet.html#a2915c8ae289ed5b5a77ae871af964884" title="associated MDI panel">mdi_cont</a>;
<a name="l00211"></a>00211 
<a name="l00212"></a>00212 <span class="comment"></span>
<a name="l00213"></a>00213 <span class="comment">    /// undo / redo header</span>
<a name="l00214"></a><a class="code" href="class_e_t_sheet.html#a3956bc55d12bdb86b4b51d863f779e0e">00214</a> <span class="comment"></span>    <a class="code" href="class_e_t_undo_head.html" title="class representing the base of an undo-redo system in a sheet">ETUndoHead</a>                  <a class="code" href="class_e_t_sheet.html#a3956bc55d12bdb86b4b51d863f779e0e" title="undo / redo header">hd_ur</a>;
<a name="l00215"></a>00215 
<a name="l00216"></a>00216 <span class="comment"></span>
<a name="l00217"></a>00217 <span class="comment">    /// current viewport</span>
<a name="l00218"></a><a class="code" href="class_e_t_sheet.html#a0ecdc80038e1ae878c6846df4c129632">00218</a> <span class="comment"></span>    <a class="code" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> *               <a class="code" href="class_e_t_sheet.html#a0ecdc80038e1ae878c6846df4c129632" title="current viewport">vp_crt</a>;
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="comment"></span>
<a name="l00221"></a>00221 <span class="comment">    /// the background color for this sheet</span>
<a name="l00222"></a><a class="code" href="class_e_t_sheet.html#ab44474e67d557f2233aa597544d957f7">00222</a> <span class="comment"></span>    QColor                      <a class="code" href="class_e_t_sheet.html#ab44474e67d557f2233aa597544d957f7" title="the background color for this sheet">back_col</a>;
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 
<a name="l00225"></a>00225 
<a name="l00226"></a>00226     <span class="comment">/*  DATA    ============================================================ */</span>
<a name="l00227"></a>00227     <span class="comment">//</span>
<a name="l00228"></a>00228     <span class="comment">//</span>
<a name="l00229"></a>00229     <span class="comment">//</span>
<a name="l00230"></a>00230     <span class="comment">//</span>
<a name="l00231"></a>00231     <span class="comment">/*  FUNCTIONS    ------------------------------------------------------- */</span>
<a name="l00232"></a>00232 
<a name="l00233"></a>00233 <span class="keyword">private</span>:
<a name="l00234"></a>00234 <span class="comment"></span>
<a name="l00235"></a>00235 <span class="comment">    /// constructor</span>
<a name="l00236"></a>00236 <span class="comment"></span>    <a class="code" href="class_e_t_sheet.html#adf5b1eb82b5c396462e35b7de088b1f5" title="constructor">ETSheet</a>     (QObject * parent = <a class="code" href="aclass__ddhc_8cc.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>);
<a name="l00237"></a>00237 
<a name="l00238"></a>00238 <span class="keyword">public</span>:<span class="comment"></span>
<a name="l00239"></a>00239 <span class="comment">    /// destructor</span>
<a name="l00240"></a>00240 <span class="comment"></span>    <span class="keyword">virtual</span>             <a class="code" href="class_e_t_sheet.html#a86b2acf32c8edadd4125846bf148ae30" title="destructor">~ETSheet</a>        ( <span class="keywordtype">void</span> );
<a name="l00241"></a>00241 
<a name="l00242"></a>00242 
<a name="l00243"></a>00243 
<a name="l00244"></a>00244     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00245"></a>00245 <span class="comment">    /** @name Creating new documents</span>
<a name="l00246"></a>00246 <span class="comment">    */</span><span class="comment"></span>
<a name="l00247"></a>00247 <span class="comment">    //@{</span>
<a name="l00248"></a>00248 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00249"></a>00249 
<a name="l00250"></a>00250 <span class="comment"></span>
<a name="l00251"></a>00251 <span class="comment">    /// creates a new sheet; it is \b invisible to the user</span>
<a name="l00252"></a>00252 <span class="comment"></span><span class="comment">    /**</span>
<a name="l00253"></a>00253 <span class="comment"> *  This function does not display error messages. Instead, when error</span>
<a name="l00254"></a>00254 <span class="comment"> * conditions are detected, corresponding string is returned in \b s_err</span>
<a name="l00255"></a>00255 <span class="comment"> * member.</span>
<a name="l00256"></a>00256 <span class="comment"> *</span>
<a name="l00257"></a>00257 <span class="comment"> *  @return NULL for failure, newly created object otherwise</span>
<a name="l00258"></a>00258 <span class="comment"> */</span>
<a name="l00259"></a>00259     <span class="keyword">static</span> <a class="code" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> *    <a class="code" href="class_e_t_sheet.html#a33893d440e3859fbeee49088b7194406" title="creates a new sheet; it is invisible to the user">newInvisible</a>    (
<a name="l00260"></a>00260             QString         s_file, <span class="comment">/**&lt; this may be empty, in which case</span>
<a name="l00261"></a>00261 <span class="comment">            a new empty structure is created, or may point to a file to load.*/</span>
<a name="l00262"></a>00262             QString *       s_err   <span class="comment">/**&lt; if the function returns NULL</span>
<a name="l00263"></a>00263 <span class="comment">          (telling that it failed to open the file or to create a new one)</span>
<a name="l00264"></a>00264 <span class="comment">          this string is populated by the error message */</span>
<a name="l00265"></a>00265             );
<a name="l00266"></a>00266 
<a name="l00267"></a>00267 <span class="comment"></span>
<a name="l00268"></a>00268 <span class="comment">    /// creates a new sheet; it is \b visible to the user</span>
<a name="l00269"></a>00269 <span class="comment"></span><span class="comment">    /**</span>
<a name="l00270"></a>00270 <span class="comment"> *  This function will display error messaegs to the user if it is unable</span>
<a name="l00271"></a>00271 <span class="comment"> * to perform requested opperation (create new or open file).</span>
<a name="l00272"></a>00272 <span class="comment"> *</span>
<a name="l00273"></a>00273 <span class="comment"> *  @return NULL for failure, newly created object otherwise</span>
<a name="l00274"></a>00274 <span class="comment"> */</span>
<a name="l00275"></a>00275     <span class="keyword">static</span> <a class="code" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> *    <a class="code" href="class_e_t_sheet.html#ae46162fde47b4dca8bd8788435dcbfbf" title="creates a new sheet; it is visible to the user">newVisible</a>  (
<a name="l00276"></a>00276             QString         s_file, <span class="comment">/**&lt; this may be empty, in which case</span>
<a name="l00277"></a>00277 <span class="comment">            a new empty structure is created, or may point to a file to load.*/</span>
<a name="l00278"></a>00278             <a class="code" href="class_mdi_child.html" title="form representing a document inside MDI area">MdiChild</a> *      asoc_w  <span class="comment">/**&lt; pre-made MDI window that will host</span>
<a name="l00279"></a>00279 <span class="comment">           this document */</span>
<a name="l00280"></a>00280             );
<a name="l00281"></a>00281 
<a name="l00282"></a>00282 <span class="comment"></span>
<a name="l00283"></a>00283 <span class="comment">    //@}</span>
<a name="l00284"></a>00284 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00285"></a>00285 
<a name="l00286"></a>00286 
<a name="l00287"></a>00287 
<a name="l00288"></a>00288 
<a name="l00289"></a>00289 
<a name="l00290"></a>00290     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00291"></a>00291 <span class="comment">    /** @name Managing the lists of documents</span>
<a name="l00292"></a>00292 <span class="comment"> */</span><span class="comment"></span>
<a name="l00293"></a>00293 <span class="comment">    //@{</span>
<a name="l00294"></a>00294 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00295"></a>00295 
<a name="l00296"></a>00296 <span class="comment"></span>
<a name="l00297"></a>00297 <span class="comment">    /// tells the number of visible documents</span>
<a name="l00298"></a>00298 <span class="comment"></span>    <span class="keyword">static</span> <span class="keywordtype">int</span>          <a class="code" href="class_e_t_sheet.html#a531636a8b9b9841afc65ec1bc9c60b66" title="tells the number of visible documents">visibleCount</a>            ( <span class="keywordtype">void</span> );
<a name="l00299"></a>00299 
<a name="l00300"></a>00300 <span class="comment"></span>
<a name="l00301"></a>00301 <span class="comment">    /// tells the number of invisible documents</span>
<a name="l00302"></a><a class="code" href="class_e_t_sheet.html#a9a46a25f71903173510294a2d3fc80f9">00302</a> <span class="comment"></span>    <span class="keyword">static</span> <span class="keywordtype">int</span>          <a class="code" href="class_e_t_sheet.html#a9a46a25f71903173510294a2d3fc80f9" title="tells the number of invisible documents">invisibleCount</a>          ( <span class="keywordtype">void</span> )
<a name="l00303"></a>00303     { <span class="keywordflow">return</span> <a class="code" href="class_e_t_sheet.html#a60207c5a593d551047a5cb16606d69fe" title="list of invisible documents">invisible_list</a>.count();}
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 <span class="comment"></span>
<a name="l00306"></a>00306 <span class="comment">    /// get the visible document with index \b doc_index</span>
<a name="l00307"></a>00307 <span class="comment"></span><span class="comment">    /**</span>
<a name="l00308"></a>00308 <span class="comment"> *  If the index is out of bounds, the function returns NULL, otherwise</span>
<a name="l00309"></a>00309 <span class="comment"> *  it returns the document that lies at thet particular index.</span>
<a name="l00310"></a>00310 <span class="comment"> */</span>
<a name="l00311"></a>00311     <span class="keyword">static</span> <a class="code" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> *    <a class="code" href="class_e_t_sheet.html#a7ec304bc04c8ebe8e6d7ba5eff984018" title="get the visible document with index doc_index ">visibleDoc</a>              (<span class="keywordtype">int</span> doc_index);
<a name="l00312"></a>00312 
<a name="l00313"></a>00313 <span class="comment"></span>
<a name="l00314"></a>00314 <span class="comment">    /// get the invisible document with index \b doc_index</span>
<a name="l00315"></a>00315 <span class="comment"></span><span class="comment">    /**</span>
<a name="l00316"></a>00316 <span class="comment"> *  If the index is out of bounds, the function returns NULL, otherwise</span>
<a name="l00317"></a>00317 <span class="comment"> *  it returns the document that lies at thet particular index.</span>
<a name="l00318"></a>00318 <span class="comment"> */</span>
<a name="l00319"></a><a class="code" href="class_e_t_sheet.html#aae6d208821192f4f55a4d2b13b9dffe5">00319</a>     <span class="keyword">static</span> <a class="code" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> *    <a class="code" href="class_e_t_sheet.html#aae6d208821192f4f55a4d2b13b9dffe5" title="get the invisible document with index doc_index ">invisibleDoc</a>            (<span class="keywordtype">int</span> doc_index)
<a name="l00320"></a>00320     { <span class="keywordflow">return</span> (doc_index &gt;= <a class="code" href="class_e_t_sheet.html#a60207c5a593d551047a5cb16606d69fe" title="list of invisible documents">invisible_list</a>.count() ? <a class="code" href="aclass__ddhc_8cc.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> : <a class="code" href="class_e_t_sheet.html#a60207c5a593d551047a5cb16606d69fe" title="list of invisible documents">invisible_list</a>[doc_index]); }
<a name="l00321"></a>00321 
<a name="l00322"></a>00322 <span class="comment"></span>
<a name="l00323"></a>00323 <span class="comment">    //@}</span>
<a name="l00324"></a>00324 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00325"></a>00325 
<a name="l00326"></a>00326 
<a name="l00327"></a>00327 
<a name="l00328"></a>00328 
<a name="l00329"></a>00329     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00330"></a>00330 <span class="comment">    /** @name Create new elements</span>
<a name="l00331"></a>00331 <span class="comment"> */</span><span class="comment"></span>
<a name="l00332"></a>00332 <span class="comment">    //@{</span>
<a name="l00333"></a>00333 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00334"></a>00334 <span class="comment"></span>
<a name="l00335"></a>00335 <span class="comment">    /// create a new ETI_CplxTxt with one simple sub-item (ETSI_SText)</span>
<a name="l00336"></a>00336 <span class="comment"></span>    <a class="code" href="class_e_t_i___cplx_txt.html" title="class representing a complex text; this may or may not represent an equation">ETI_CplxTxt</a> *       <a class="code" href="class_e_t_sheet.html#a99ededfa6ed80849580d2b9fe797661a" title="create a new ETI_CplxTxt with one simple sub-item (ETSI_SText)">addBasicCplx</a>    (qreal new_x, qreal new_y);
<a name="l00337"></a>00337 <span class="comment"></span>
<a name="l00338"></a>00338 <span class="comment">    /// create a new ETI_CplxTxt with 3 simple sub-items (ETSI_SText), middle one being &quot;=&quot;</span>
<a name="l00339"></a>00339 <span class="comment"></span>    <a class="code" href="class_e_t_i___cplx_txt.html" title="class representing a complex text; this may or may not represent an equation">ETI_CplxTxt</a> *       <a class="code" href="class_e_t_sheet.html#ab6ac3805d3a30ea01bfcdc50caf49b02" title="create a new ETI_CplxTxt with 3 simple sub-items (ETSI_SText), middle one being &quot;=&quot;">addCplx1Eq1</a>     (qreal new_x, qreal new_y);
<a name="l00340"></a>00340 <span class="comment"></span>
<a name="l00341"></a>00341 <span class="comment">    /// create a new ETI_CplxTxt with 3 simple sub-items (ETSI_SText), middle one being &quot;=&quot;</span>
<a name="l00342"></a>00342 <span class="comment"></span>    <a class="code" href="class_e_t_i___m_txt.html" title="class">ETI_MTxt</a> *          <a class="code" href="class_e_t_sheet.html#aa00839811374c1a3db617f88cd3e9995" title="create a new ETI_CplxTxt with 3 simple sub-items (ETSI_SText), middle one being &quot;=&quot;">addMText</a>        (qreal new_x, qreal new_y);
<a name="l00343"></a>00343 <span class="comment"></span>
<a name="l00344"></a>00344 <span class="comment">    //@}</span>
<a name="l00345"></a>00345 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00346"></a>00346 
<a name="l00347"></a>00347 
<a name="l00348"></a>00348 
<a name="l00349"></a>00349 
<a name="l00350"></a>00350     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00351"></a>00351 <span class="comment">    /** @name Save and load */</span><span class="comment"></span>
<a name="l00352"></a>00352 <span class="comment">    //@{</span>
<a name="l00353"></a>00353 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00354"></a>00354 
<a name="l00355"></a>00355 <span class="keyword">private</span>:
<a name="l00356"></a>00356 <span class="comment"></span>
<a name="l00357"></a>00357 <span class="comment">    /// is capable of loading an xml file</span>
<a name="l00358"></a>00358 <span class="comment"></span>    <span class="keyword">static</span> QDomDocument *   <a class="code" href="class_e_t_sheet.html#adaf45f097cec26cb4f86270335f91aae" title="is capable of loading an xml file">openXMLFile</a>         (QString str_file_trg);
<a name="l00359"></a>00359 
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 
<a name="l00362"></a>00362 
<a name="l00363"></a>00363 <span class="keyword">public</span>:<span class="comment"></span>
<a name="l00364"></a>00364 <span class="comment">    /// add the content of a xml file to current sheet</span>
<a name="l00365"></a>00365 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a17384eea523b013c593abf6be0e73623" title="add the content of a xml file to current sheet">loadXMLFile</a>         (QString str_file_trg);
<a name="l00366"></a>00366 
<a name="l00367"></a>00367 <span class="comment"></span>
<a name="l00368"></a>00368 <span class="comment">    /// save the content of current sheet to a xml file</span>
<a name="l00369"></a>00369 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a4f37965444156d4502512b3391c3c83f" title="save the content of current sheet to a xml file">saveXMLFile</a>         (QString str_file_trg);
<a name="l00370"></a>00370 
<a name="l00371"></a>00371 <span class="comment"></span>
<a name="l00372"></a>00372 <span class="comment">    /// load common properties of a QGraphicsItem from a dox node</span>
<a name="l00373"></a>00373 <span class="comment"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span>             <a class="code" href="class_e_t_sheet.html#a290549c5a6aba1b5f1f9c5dd8da1584f" title="load common properties of a QGraphicsItem from a dox node">loadQICommon</a>        (
<a name="l00374"></a>00374             QGraphicsItem * dest,
<a name="l00375"></a>00375             QDomElement     dom_e
<a name="l00376"></a>00376             );
<a name="l00377"></a>00377 
<a name="l00378"></a>00378 <span class="comment"></span>
<a name="l00379"></a>00379 <span class="comment">    /// save common properties of a QGraphicsItem from a dox node</span>
<a name="l00380"></a>00380 <span class="comment"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span>             <a class="code" href="class_e_t_sheet.html#ab66f954ab58258d7eae54feb21081c16" title="save common properties of a QGraphicsItem from a dox node">saveQICommon</a>        (
<a name="l00381"></a>00381             QGraphicsItem * dest,
<a name="l00382"></a>00382             QDomElement     dom_e
<a name="l00383"></a>00383             );
<a name="l00384"></a>00384 
<a name="l00385"></a>00385 <span class="comment"></span>
<a name="l00386"></a>00386 <span class="comment">    //@}</span>
<a name="l00387"></a>00387 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00388"></a>00388 
<a name="l00389"></a>00389 
<a name="l00390"></a>00390 
<a name="l00391"></a>00391 
<a name="l00392"></a>00392 
<a name="l00393"></a>00393 
<a name="l00394"></a>00394     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00395"></a>00395 <span class="comment">    /** @name Undo / redo support */</span><span class="comment"></span>
<a name="l00396"></a>00396 <span class="comment">    //@{</span>
<a name="l00397"></a>00397 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00398"></a>00398 
<a name="l00399"></a>00399 <span class="comment"></span>
<a name="l00400"></a>00400 <span class="comment">    /// add a new undo item to this chain</span>
<a name="l00401"></a><a class="code" href="class_e_t_sheet.html#aa5fcdb2625bd31de16d6717607adaed8">00401</a> <span class="comment"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span>         <a class="code" href="class_e_t_sheet.html#aa5fcdb2625bd31de16d6717607adaed8" title="add a new undo item to this chain">addUndoItem</a>     (<a class="code" href="class_e_t_undo_elem.html" title="class representing the common interface exposed by all sub-items of a ETI_CplxTxt">ETUndoElem</a>* new_it)
<a name="l00402"></a>00402     { <a class="code" href="class_e_t_sheet.html#a3956bc55d12bdb86b4b51d863f779e0e" title="undo / redo header">hd_ur</a>.<a class="code" href="class_e_t_undo_head.html#a534f29b142908093bf8bb5dc32d0df1a" title="add a new undo item to this chain">addUndoItem</a>(new_it); }
<a name="l00403"></a>00403 <span class="comment"></span>
<a name="l00404"></a>00404 <span class="comment">    /// perform the undo action</span>
<a name="l00405"></a><a class="code" href="class_e_t_sheet.html#ab6b7e6eb0b9a6f6643cbfe5d31cb97fd">00405</a> <span class="comment"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span>         <a class="code" href="class_e_t_sheet.html#ab6b7e6eb0b9a6f6643cbfe5d31cb97fd" title="perform the undo action">performUndo</a>     ( <span class="keywordtype">int</span> cnt = 1 )
<a name="l00406"></a>00406     { <a class="code" href="class_e_t_sheet.html#a3956bc55d12bdb86b4b51d863f779e0e" title="undo / redo header">hd_ur</a>.<a class="code" href="class_e_t_undo_head.html#a1ba04c608d344205da60b8c58adde02a" title="perform the undo action">performUndo</a>(cnt); }
<a name="l00407"></a>00407 <span class="comment"></span>
<a name="l00408"></a>00408 <span class="comment">    /// perform the redo action</span>
<a name="l00409"></a><a class="code" href="class_e_t_sheet.html#ace7088acd9a3c37f035991c68542b007">00409</a> <span class="comment"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span>         <a class="code" href="class_e_t_sheet.html#ace7088acd9a3c37f035991c68542b007" title="perform the redo action">performRedo</a>     ( <span class="keywordtype">int</span> cnt = 1 )
<a name="l00410"></a>00410     { <a class="code" href="class_e_t_sheet.html#a3956bc55d12bdb86b4b51d863f779e0e" title="undo / redo header">hd_ur</a>.<a class="code" href="class_e_t_undo_head.html#abf4ef027d767c94dceed09c9f4e43928" title="perform the redo action">performRedo</a>(cnt); }
<a name="l00411"></a>00411 
<a name="l00412"></a>00412 <span class="comment"></span>
<a name="l00413"></a>00413 <span class="comment">    //@}</span>
<a name="l00414"></a>00414 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00415"></a>00415 
<a name="l00416"></a>00416 
<a name="l00417"></a>00417 
<a name="l00418"></a>00418 
<a name="l00419"></a>00419 
<a name="l00420"></a>00420 
<a name="l00421"></a>00421     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00422"></a>00422 <span class="comment">    /** @name Formatting */</span><span class="comment"></span>
<a name="l00423"></a>00423 <span class="comment">    //@{</span>
<a name="l00424"></a>00424 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00425"></a>00425 
<a name="l00426"></a>00426 <span class="comment"></span>
<a name="l00427"></a>00427 <span class="comment">    /// add a new undo item to this chain</span>
<a name="l00428"></a>00428 <span class="comment"></span>    <span class="keywordtype">void</span>                <a class="code" href="class_e_t_sheet.html#a293614cc7ce2fc541a0c38fe1b9ebe4a" title="add a new undo item to this chain">slot_VP_ZoomIn</a>      ( <span class="keywordtype">void</span> );
<a name="l00429"></a>00429 
<a name="l00430"></a>00430 <span class="comment"></span>
<a name="l00431"></a>00431 <span class="comment">    //@}</span>
<a name="l00432"></a>00432 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00433"></a>00433 
<a name="l00434"></a>00434 
<a name="l00435"></a>00435 
<a name="l00436"></a>00436 
<a name="l00437"></a>00437 
<a name="l00438"></a>00438 
<a name="l00439"></a>00439 
<a name="l00440"></a>00440     <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span><span class="comment"></span>
<a name="l00441"></a>00441 <span class="comment">    /** @name Viewports and other GUI components */</span><span class="comment"></span>
<a name="l00442"></a>00442 <span class="comment">    //@{</span>
<a name="l00443"></a>00443 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00444"></a>00444 
<a name="l00445"></a>00445 <span class="comment"></span>
<a name="l00446"></a>00446 <span class="comment">    /// get associated mdi window (NULL if none)</span>
<a name="l00447"></a><a class="code" href="class_e_t_sheet.html#a2ba087cbdd9779858aaa5dfea502b817">00447</a> <span class="comment"></span>    <span class="keyword">inline</span> <a class="code" href="class_mdi_child.html" title="form representing a document inside MDI area">MdiChild</a> *       <a class="code" href="class_e_t_sheet.html#a2ba087cbdd9779858aaa5dfea502b817" title="get associated mdi window (NULL if none)">assocMDI</a>            ( <span class="keywordtype">void</span> )<span class="keyword"> const</span>
<a name="l00448"></a>00448 <span class="keyword">    </span>{ <span class="keywordflow">return</span> <a class="code" href="class_e_t_sheet.html#a2915c8ae289ed5b5a77ae871af964884" title="associated MDI panel">mdi_cont</a>; }
<a name="l00449"></a>00449 
<a name="l00450"></a>00450 <span class="comment"></span>
<a name="l00451"></a>00451 <span class="comment">    /// Remove all splits; Only a viewport remains</span>
<a name="l00452"></a>00452 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a4b9c76466085e8de5a98ba880c81b82e" title="Remove all splits; Only a viewport remains.">vp_DelAll</a>          ( <span class="keywordtype">void</span> );
<a name="l00453"></a>00453 
<a name="l00454"></a>00454 <span class="comment"></span>
<a name="l00455"></a>00455 <span class="comment">    /// zoom in on current viewport</span>
<a name="l00456"></a>00456 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#ac312505aeb246d67fcdb114e9b459c35" title="zoom in on current viewport">vp_ZoomIn</a>           ( <span class="keywordtype">void</span> );
<a name="l00457"></a>00457 
<a name="l00458"></a>00458 <span class="comment"></span>
<a name="l00459"></a>00459 <span class="comment">    /// zoom out on current viewport</span>
<a name="l00460"></a>00460 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a4240be69d4b31c91347a5d9200d74d66" title="zoom out on current viewport">vp_ZoomOut</a>          ( <span class="keywordtype">void</span> );
<a name="l00461"></a>00461 
<a name="l00462"></a>00462 <span class="comment"></span>
<a name="l00463"></a>00463 <span class="comment">    /// zoom extensions</span>
<a name="l00464"></a>00464 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a1abbae1351cfcc0bd8b4a70bc944c950" title="zoom extensions">vp_ZoomExt</a>          ( <span class="keywordtype">void</span> );
<a name="l00465"></a>00465 
<a name="l00466"></a>00466 <span class="comment"></span>
<a name="l00467"></a>00467 <span class="comment">    /// zoom by window</span>
<a name="l00468"></a>00468 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#ad38f3ffe1e45f270e4f51568f90e3470" title="zoom by window">vp_ZoomWin</a>          ( <span class="keywordtype">void</span> );
<a name="l00469"></a>00469 
<a name="l00470"></a>00470 
<a name="l00471"></a>00471 
<a name="l00472"></a>00472 
<a name="l00473"></a>00473 <span class="comment"></span>
<a name="l00474"></a>00474 <span class="comment">    /// rotate the view clockwise on current viewport</span>
<a name="l00475"></a>00475 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#ae8f7cdef6c178db853483cbdcb9039e2" title="rotate the view clockwise on current viewport">vp_RotClk</a>           ( <span class="keywordtype">void</span> );
<a name="l00476"></a>00476 
<a name="l00477"></a>00477 <span class="comment"></span>
<a name="l00478"></a>00478 <span class="comment">    /// rotate the view counter-clockwise on current viewport</span>
<a name="l00479"></a>00479 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#ab5146b7fc1476a2722362f10787dfaef" title="rotate the view counter-clockwise on current viewport">vp_RotCtrClk</a>        ( <span class="keywordtype">void</span> );
<a name="l00480"></a>00480 
<a name="l00481"></a>00481 <span class="comment"></span>
<a name="l00482"></a>00482 <span class="comment">    /// informed about current viewport in window</span>
<a name="l00483"></a><a class="code" href="class_e_t_sheet.html#a2cd1ffe7f55a76b1ca3f9bb23a6336e0">00483</a> <span class="comment"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span>             <a class="code" href="class_e_t_sheet.html#a2cd1ffe7f55a76b1ca3f9bb23a6336e0" title="informed about current viewport in window">ackCurrentVp</a>        ( <a class="code" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> * new_crt)
<a name="l00484"></a>00484     { <a class="code" href="class_e_t_sheet.html#a0ecdc80038e1ae878c6846df4c129632" title="current viewport">vp_crt</a> = new_crt; }
<a name="l00485"></a>00485 
<a name="l00486"></a>00486 <span class="comment"></span>
<a name="l00487"></a>00487 <span class="comment">    /// tell which is current viewport (should never be null)</span>
<a name="l00488"></a><a class="code" href="class_e_t_sheet.html#a7f91174cc0e5fcc88ab8b9373dfdc370">00488</a> <span class="comment"></span>    <span class="keyword">inline</span> <a class="code" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> *    <a class="code" href="class_e_t_sheet.html#a7f91174cc0e5fcc88ab8b9373dfdc370" title="tell which is current viewport (should never be null)">currentVP</a>           ( <span class="keywordtype">void</span> )
<a name="l00489"></a>00489     { <span class="keywordflow">return</span> <a class="code" href="class_e_t_sheet.html#a0ecdc80038e1ae878c6846df4c129632" title="current viewport">vp_crt</a>; }
<a name="l00490"></a>00490 
<a name="l00491"></a>00491 <span class="comment"></span>
<a name="l00492"></a>00492 <span class="comment">    /// tell which is current viewport (should never be null)</span>
<a name="l00493"></a>00493 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a268f805202701c67e7334201965bf4c3" title="tell which is current viewport (should never be null)">setCurrentVp</a>         ( <a class="code" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> * new_vp );
<a name="l00494"></a>00494 
<a name="l00495"></a>00495 <span class="comment"></span>
<a name="l00496"></a>00496 <span class="comment">    /// gets the top vidget and tells if it&#39;s a viewport or splitter</span>
<a name="l00497"></a>00497 <span class="comment"></span>    QWidget *               <a class="code" href="class_e_t_sheet.html#ac7cc9b89ecb5a36a9c7a6c3a7febeed7" title="gets the top vidget and tells if it&#39;s a viewport or splitter">vp_TopWidget</a>        (<span class="keywordtype">bool</span> * b_is_viewport);
<a name="l00498"></a>00498 
<a name="l00499"></a>00499 <span class="comment"></span>
<a name="l00500"></a>00500 <span class="comment">    /// the color used for active viewport&#39;s background</span>
<a name="l00501"></a><a class="code" href="class_e_t_sheet.html#a616634c26695586b0d9ee45e9c578707">00501</a> <span class="comment"></span>    <span class="keyword">inline</span> QColor           <a class="code" href="class_e_t_sheet.html#a616634c26695586b0d9ee45e9c578707" title="the color used for active viewport&#39;s background">background</a>          (<span class="keywordtype">void</span>)
<a name="l00502"></a>00502     { <span class="keywordflow">return</span> <a class="code" href="class_e_t_sheet.html#ab44474e67d557f2233aa597544d957f7" title="the background color for this sheet">back_col</a>; }
<a name="l00503"></a>00503 
<a name="l00504"></a>00504 <span class="comment"></span>
<a name="l00505"></a>00505 <span class="comment">    /// change the color used for active viewport&#39;s background</span>
<a name="l00506"></a>00506 <span class="comment"></span>    <span class="keywordtype">void</span>                    <a class="code" href="class_e_t_sheet.html#a4216d12a4fe36d9dfd3a8bc36be83f79" title="change the color used for active viewport&#39;s background">setBackground</a>       (QColor new_col);
<a name="l00507"></a>00507 
<a name="l00508"></a>00508 <span class="comment"></span>
<a name="l00509"></a>00509 <span class="comment">    //@}</span>
<a name="l00510"></a>00510 <span class="comment"></span>    <span class="comment">/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */</span>
<a name="l00511"></a>00511 
<a name="l00512"></a>00512 
<a name="l00513"></a>00513 
<a name="l00514"></a>00514 
<a name="l00515"></a>00515 
<a name="l00516"></a>00516 
<a name="l00517"></a>00517 
<a name="l00518"></a>00518     <span class="comment">/*  FUNCTIONS    ======================================================= */</span>
<a name="l00519"></a>00519     <span class="comment">//</span>
<a name="l00520"></a>00520     <span class="comment">//</span>
<a name="l00521"></a>00521     <span class="comment">//</span>
<a name="l00522"></a>00522     <span class="comment">//</span>
<a name="l00523"></a>00523 
<a name="l00524"></a>00524 };  <span class="comment">/*  class ETSheet   */</span>
<a name="l00525"></a>00525 
<a name="l00526"></a>00526 <span class="comment">/*  CLASS    =============================================================== */</span>
<a name="l00527"></a>00527 <span class="comment">//</span>
<a name="l00528"></a>00528 <span class="comment">//</span>
<a name="l00529"></a>00529 <span class="comment">//</span>
<a name="l00530"></a>00530 <span class="comment">//</span>
<a name="l00531"></a>00531 <span class="preprocessor">#endif // __ETSHEET_INC__</span>
<a name="l00532"></a>00532 <span class="preprocessor"></span><span class="comment">/* ------------------------------------------------------------------------- */</span>
<a name="l00533"></a>00533 <span class="comment">/* ========================================================================= */</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_e_t_sheet_8h.html">ETSheet.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:47 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
